import * as PIXI from 'pixi.js'

let textureSource: PIXI.TextureSource | null = null
export default async (): Promise<void> => {
  const bundle = await PIXI.Assets.loadBundle('cardBook')
  textureSource = new PIXI.Texture(bundle.cardBook).source
}

export { textureSource }
